CVE-2026-46483
Vim: Command injection in tar#Vimuntar via missing shellescape {special} flag
Description
Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d commands using shellescape(tartail) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479.
INFO
Published Date :
May 15, 2026, 3:16 p.m.
Last Modified :
May 19, 2026, 12:27 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Vim to version 9.2.0479 or later.
- Avoid decompressing untrusted .tgz archives in Vim.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-46483.
| URL | Resource |
|---|---|
| https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1 | Patch |
| https://github.com/vim/vim/releases/tag/v9.2.0479 | Product |
| https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w | Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-46483 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-46483
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-46483 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-46483 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 19, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions up to (excluding) 9.2.0479 Added Reference Type GitHub, Inc.: https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/vim/vim/releases/tag/v9.2.0479 Types: Product Added Reference Type GitHub, Inc.: https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w Types: Patch, Vendor Advisory -
New CVE Received by [email protected]
May. 15, 2026
Action Type Old Value New Value Added Description Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d commands using shellescape(tartail) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N Added CWE CWE-78 Added CWE CWE-88 Added Reference https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1 Added Reference https://github.com/vim/vim/releases/tag/v9.2.0479 Added Reference https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w